﻿using System;
using TMT_CMS.BL.Excel.AttributeUtility;

namespace TMT_CMS.BL.Excel.Entity
{
    //create table ServiceType
    //(
    //    ServiceTypeNo        SHORT           not null,
    //    ChineseName          STRING,
    //    EnglishName          STRING,
    //constraint PK_SERVICETYPE primary key (ServiceTypeNo)
    //);

    public class ServiceType
    {
        private short _ID = -1;
        private string _ChineseName = string.Empty;
        private string _EnglishName = string.Empty;

        [DataAttribute("ID", DataType.ShortInt, "服务要求编号")]
        public short ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        [DataAttribute("ChineseName", DataType.String, "中文名字")]
        public string ChineseName
        {
            get { return _ChineseName; }
            set { _ChineseName = value; }
        }

        [DataAttribute("EnglishName", DataType.String, "英文名字")]
        public string EnglishName
        {
            get { return _EnglishName; }
            set { _EnglishName = value; }
        }
    }
}
